package com.zhuss.job.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.SearchKeyWordBo;
import com.zhuss.bean.bo.job.job.SearchJobBo;
import com.zhuss.bean.bo.job.job.wechat.ListJobBo;
import com.zhuss.bean.vo.DetailKeyWordVo;
import com.zhuss.bean.vo.job.job.DetailJobVo;
import com.zhuss.bean.vo.job.job.ListJobVo;
import com.zhuss.job.db.dao.gen.JobMapper;
import com.zhuss.job.db.entity.Job;

@Mapper
public interface JobDao extends JobMapper {
	
	void create(Job record);
	
	void delete(Job record);
	
	List<Job> listAll(@Param("area") Integer area);

	List<ListJobVo> list(SearchJobBo bo);

	Integer countList(SearchJobBo bo);

	DetailJobVo detail(@Param("jobId") Long jobId);

	List<DetailJobVo> listJob(ListJobBo bo);
	
	Integer countJobList(ListJobBo bo);
	
	List<DetailKeyWordVo> keyWord(SearchKeyWordBo bo);
	
	Integer countKeyWord(SearchKeyWordBo bo);
    
}